<?php

namespace App\Kuafu\User\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class RoleCodeEnum extends BaseCodeEnum
{

    const ROLE_TYPE_LIST = [
        self::ROLE_WEB_TYPE      => "WEB",
        self::ROLE_POS_TYPE      => "POS",
        self::ROLE_BUSINESS_TYPE => "商家"
    ];

    // 角色请求类 1 店长  2 店长+员工
    const ROLE_INTERNET_ROLE_MERCHANT          = 1;
    const ROLE_INTERNET_ROLE_MERCHANT_EMPLOYEE = 2;

    // 角色的平台类型
    public const ROLE_WEB_TYPE      = 1;    // 运营中心
    public const ROLE_POS_TYPE      = 2;    // 收银机
    public const ROLE_BUSINESS_TYPE = 3;    // 商家 APP
}
